 package com.youxuit.youxu.kecheng.threadLocal.usage2;

public class OrderSimpleService {


    public void process(User user){
        System.out.println("service层获取到的姓名"+user.getName() );
        
    }

    public void process2(){
        User user = UserContextHolder.userHolder.get();
        System.out.println("service层获取到的姓名"+user.getName() );

    }
}
